export default {
  getTabList(type) {
    return [
      {
        label: "我的待办",
        name: "daiban",
        params: {category: 'duty'},
        badgeNum: 0,
        formatter: (data) => {
          return data
        },
        hasBadge: true
      },
      {
        label: "我的已办",
        name: "yiban",
        params: {category: 'relation'},
        badgeNum: 0,
        formatter: (data) => {
          return data
        }
      },
      {
        label: "待接单",
        name: "jiedan",
        params: {category: 'jiedan'},
        badgeNum: 0,
        formatter: (data) => {
          return data
        }
      },
      {
        label: "我的申请",
        name: "faqi",
        params: {category: 'owner'},
        badgeNum: 0,
        formatter: (data) => {
          return data
        }
      },
      {
        label: "我的草稿",
        name: "draft",
        params: {category: 'draft'},
        badgeNum: 0,
        formatter: (data) => {
          return data
        }
      },{
        label: "全部管理",
        name: "all",
        params: {category: "all"},
        badgeNum: 0,
        formatter: (data) => {
          return data
        }
      }

    ]
  },
}

